package com.haoyeteng.sxbd.modular.business.dao;

import com.haoyeteng.sxbd.modular.business.model.Auth;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 资质认证表 Mapper 接口
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-05-17
 */
public interface AuthMapper extends BaseMapper<Auth> {
	
	/**
	 * 查询资质认证
	 * @param page
	 * @param userName
	 * @param authState
	 * @param mappingGrade
	 * @param province
	 * @param city
	 * @param area
	 * @param startTime
	 * @param endTime
	 * @return
	 */
	List<Map<String,Object>> selectAuthList(Page<Auth> page,@Param("userName") String userName, 
		@Param("authState") Integer authState,@Param("mappingGrade") Integer mappingGrade,
		@Param("province") String province,@Param("city") String city,@Param("area") String area,
		@Param("startTime") String startTime,@Param("endTime")String endTime);

}
